package com.itheima.config;

import com.itheima.util.AliyunOSSOperator;
import com.itheima.util.AliyunOssProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AliyunOSSOperatorConfig {
    @Bean
    public AliyunOSSOperator aliyunOSSOperator(AliyunOssProperties aliyunOssProperties) {
        return new AliyunOSSOperator(aliyunOssProperties);
    }
}
